<template>
  <div class="attendances">
    <h3>考勤页面</h3>
    <!-- <UploadImg :value="imgUrl" @input="imgUrl = $event" /> -->
    <UploadImg v-model="imgUrl" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      imgUrl:
        'http://hr78-1309565895.cos.ap-hongkong.myqcloud.com/1644485849526'
    }
  }
}
</script>

<style lang="scss" scoped>
.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409eff;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  line-height: 178px;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}
</style>
